import React, { Component } from "react";
import { Button, Mask, Space } from "antd-mobile";
import styles from "../../styles/demos.css";
import "../../styles/Shoucang.scss";
class Shoucang extends Component {
  constructor(props) {
    super(props);
    this.state = {
      visible: false,
      setVisible: false,
    };
  }

  guanbi() {
    this.setState({ visible: false });
  }
  dakai() {
    this.setState({ visible: true });
  }
  render() {
    return (
      <div className="shoucang">
        <>
          <Mask
            visible={this.state.visible}
            onMaskClick={() => {
              this.guanbi();
            }}
          >
            <div className="nav">什么也没有</div>
          </Mask>
          <Button
            onClick={() => {
              this.dakai();
            }}
          >
            暂无收藏内容
          </Button>
        </>
      </div>
    );
  }
}

export default Shoucang;
